package com.zc.angelica.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zc.angelica.entity.MenuInfo;
import com.zc.angelica.entity.ResponseData;

/**
 * 菜单信息表(MenuInfo)表服务接口
 *
 * @author makejava
 * @since 2022-04-05 23:52:04
 */
public interface MenuInfoService extends IService<MenuInfo> {

    /**
     * 添加菜单
     * */
    ResponseData addMenu(MenuInfo menuInfo);

    /**
     * 分页获取我的菜单
     * */
    ResponseData getMenuByPage(Integer pageNo, Integer pageSize);
    /**
     * 获取我的所有菜单
     * */
    ResponseData getAllMenu();
    /**
     * 删除菜单
     * */
    ResponseData delMenu(Long id);
    /**
     * 修改菜单
     * */
    ResponseData modifyMenu(MenuInfo menu);
    /**
     * 移动菜单
     * @Param("move") 1 上移  2下移
     * */
    ResponseData moveMenu(Long id,Integer move);
}

